A logical framework to prove properties of Alpha programs

نویسندگان

  • Luc Bougé
  • David Cachera
چکیده

We present an assertional approach to prove properties of Alpha programs. Alpha is a functional language based on aane recurrence equations. We rst present two kinds of operational semantics for Alpha together with some equivalence and connuence properties of these semantics. We then present an attempt to provide Alpha with an external logical framework. We therefore deene a proof method based on invariants. We focus on a particular class of invariants, namely canonical invariants, that are a logical expression of the program's semantics. We nally show that this framework is well-suited to prove equivalence properties between Alpha programs. Un cadre logique pour la preuve de programmes Alpha R esum e : Nous pr esentons une m ethode de preuve par assertions pour les programmes Alpha. Alpha est un langage fonctionnel d' equations r ecurrentes aanes. Nous pr esentons tout d'abord deux types de s emantiques op erationnelles pour Alpha, ainsi que des propri et es d' equivalence et de connuence de ces s emantiques. Nous munissons ensuite Alpha d'un cadre logique externe au langage. Nous d eenissons pour cela une m ethode de preuve fond ee sur l'utilisation d'invariants. Nous insistons sur une classe particuli ere d'invariants, les invariants canoniques. Nous montrons nalement que ce cadre est particuli erement adapt e a la preuve d' equivalence de programmes Alpha. Mots-cl e : Programmation parall ele, equations r ecurrentes, sp eciication et validation de programmes, s e-mantique des langages de programmation, langages data-parall eles, m ethode de preuve, invariants.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Logical Framework to Prove Properties of Alpha Programs (revised Version) Ecole Normale Supérieure De Lyon a Logical Framework to Prove Properties of Alpha Programs (revised Version) a Logical Framework to Prove Properties of Alpha Programs (revised Version)

We present an assertional approach to prove properties of Alpha programs. Alpha is a functional language based on aane recurrence equations. We rst present two kinds of operational semantics for Alpha together with some equivalence and connuence properties of these semantics. We then present an attempt to provide Alpha with an external logical framework. We therefore deene a proof method based ...

متن کامل

A logical approach to the verification of functional-logic programs

We address in this paper the question of how to verify properties of functional logic programs like those of Curry or Toy. The main problem to face is that equational reasoning is not valid for this purpose, due to the possible presence of non-deterministic functions with call-time choice semantics. We develop some logical conceptual tools providing sound reasoning mechanisms for such kind of p...

متن کامل

A Resource-Based Logic for Termination and Non-Termination Proofs (Technical Report)

We propose a unified logical framework for specifying and proving both termination and non-termination of various programs. Our framework is based on a resource logic which captures both upper and lower bounds on resources used by the programs. By an abstraction, we evolve this resource logic for execution length into a temporal logic with three predicates to reason about termination, non-termi...

متن کامل

A Resource-Based Logic for Termination and Non-termination Proofs

We propose a unified logical framework for specifying and proving both termination and non-termination of various programs. Our framework is based on a resource logic which captures both upper and lower bounds on resources used by the programs. By an abstraction, we evolve this resource logic for execution length into a temporal logic with three predicates to reason about termination, non-termi...

متن کامل

Clp() for Automatically Proving Program Properties 1

Various proof methods have been proposed to solve the implication problem , i.e. proving that properties of the form : 8(P ! Q)-where P and Q denote conjunctions of atoms-are logical consequences of logic programs. Nonetheless, it is a commonplace to say that it is still quite a diicult problem. Besides, the advent of the constraint logic programming scheme constitutes not only a major step tow...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997